Write URL's used by tracks.
authoroliskoli <oliskoli>
Wed, 19 Apr 2006 05:14:56 +0000 (05:14 +0000)
committeroliskoli <oliskoli>
Wed, 19 Apr 2006 05:14:56 +0000 (05:14 +0000)
gdb.c

diff --git a/gdb.c b/gdb.c
index 445587011b5699e9fc6d06e7cd699cbdef8d7ea4..45e2b8586fb1e872cccbcadf7300b58b328ca6a8 100644 (file)
--- a/gdb.c
+++ b/gdb.c
@@ -1529,7 +1529,7 @@ gdb_write_track(const route_head *track)
            gdb_fwrite_alt(wpt->depth, unknown_alt);    /* depth */
            gdb_fwrite(&c0, 1);                         /* temperature */
        }
-       gdb_fwrite(&c0, 1);
+       gdb_fwrite_str(track->rte_url, -1);
 }
 
 static void